package main

import (
	"fmt"
	"io"
	"os"
)

func main() {
	f, e := os.Open("c:/a.txt")
	if e != nil {
		fmt.Println(e)
	}
	defer f.Close()
	bufer := make([]byte, 2)
	for {
		n, e := f.Read(bufer)
		if e == io.EOF {
			break
		}
		fmt.Println(string(bufer[:n]))
	}
}
